import platform

from made import runtime

import madeconfig

# TODO: Somehow make this cleaner.
unexpanded_lib_deps={
    "LIB1": [],
    "LIB2": ["LIB1"],
    "LIB3": ["LIB2"],
}

# TODO: We should be checking if cpp_compiler_chain.name == "msvc", not if
#       the platform is Windows.
if platform.system() != "Windows":
    unexpanded_lib_deps["LIB3"].append("pthread")

madeconfig.initialize(unexpanded_lib_deps=unexpanded_lib_deps)

runtime.subdirs(
    "lib",
    "bin",
)

